package com.shanzmoo.db.module.merchant.domain.vo;

import com.shanzmoo.db.common.entity.BaseTimeEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * <p>
 * 扫呗订单表
 * </p>
 *
 * @author fs
 * @since 2021-04-06
 */
@Data
@ApiModel(value = "MerchantOrderVo", description = "订单详情")
public class MerchantOrderVo extends BaseTimeEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    private Integer id;

    @ApiModelProperty(value = "商户会员id")
    private Integer memberMerchantId;

    @ApiModelProperty(value = "临时会员id")
    private Integer tmpMemberMerchantId;

    @ApiModelProperty(value = "金额(分)")
    private Integer amount;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "状态0创建1付款2退款3取消")
    private Integer status;

    @ApiModelProperty(value = "商户编号")
    private String merchantCode;

    @ApiModelProperty(value = "终端号")
    private String terminalNo;

    @ApiModelProperty(value = "终端流水号")
    private String terminalRecordNo;

    @ApiModelProperty(value = "支付方式：010微信，020支付宝，060qq钱包，090口碑，100翼支付，140和包支付（仅限和包通道），150福卡支付")
    private String payType;

    @ApiModelProperty(value = "付款时间")
    private LocalDateTime payTime;

    @ApiModelProperty(value = "订单状态(1支付成功，2转入退款，3未支付，4已关闭，5用户支付中，6已撤销，7未支付支付超时，8支付失败)")
    private String payStatus;

    @ApiModelProperty(value = "支付订单号")
    private String payOrderCode;

    @ApiModelProperty(value = "扫呗订单信息")
    private Object payResponse;


}
